#!/bin/bash

cd $data_path/cnv/

while :
do

if
ps -e |grep gtdownload
then
sleep 10m
else
$tools_path/cghub/bin/gtdownload -vv -c https://cghub.ucsc.edu/software/downloads/cghub_public.key -d 035115a5-7d16-4ec4-8c4b-373bfdae3bde

sleep 10m
fi

done
